package game_elements_layer.productions_stuff;

import game_elements_layer.players_stuff.Player;
import game_elements_layer.field_stuff.locations_stuff.Locations;
import game_elements_layer.resourses_stuff.Money;
import game_elements_layer.resourses_stuff.Resources;

/**
 * Created with IntelliJ IDEA.
 * User: vych0914
 * Date: 06.10.14
 * Time: 16:32
 * To change this template use File | Settings | File Templates.
 */
public class Productions {
    private Player owner;
    private int creationTime;
    private Locations location;
    private Money cost; //производство точно стоит денег
    private Resources incomePerRound; //прибыль, которую при сборе дает производство

    public Productions(int creationTime, Player owner, Money cost, Resources incomePerRound, Locations location) {
        this.creationTime = creationTime;
        this.owner = owner;
        this.cost = cost;
        this.incomePerRound = incomePerRound;
        this.location=location;
    }

    public Player getOwner() {
        return owner;
    }

    public void setOwner(Player owner) {
        this.owner = owner;
    }

    public int getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(int creationTime) {
        this.creationTime = creationTime;
    }

    public Locations getLocation() {
        return location;
    }

    public void setLocation(Locations location) {
        this.location = location;
    }

    public Money getCost() {
        return cost;
    }

    public void setCost(Money cost) {
        this.cost = cost;
    }

    public void setIncomePerRound(Resources incomePerRound) {
        this.incomePerRound = incomePerRound;
    }

    public Resources getIncomePerRound() {
        return incomePerRound;
    }
}
